<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>后台登录-ERP管理2.2</title>
  <th:block th:include="include::header" />
</head>
<body>
<div class="layui-row layui-col-space15">
  <div class="layui-col-md6">
    <div class="layui-panel">
      <div style="padding: 50px 30px;">
        <form>
          <input type="text" id="sub" name="bookName" lay-verify="title" autocomplete="off" placeholder="请输入书名" class="layui-input"><br>
          <button type="button" lay-filter="seek" class="layui-btn layui-btn-fluid" onclick="searchCourse()">查找</button>
        </form>
      </div>
    </div>
  </div>
</div>
<script>
  function searchCourse(){
    var bookName = document.getElementById("sub").value
    xadmin.open('加载完成','/cus/crawlerBlog?bookName='+bookName,600,400)
  }
</script>
</body>
</html>